﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShareMarking.Interface
{
    public class message
    {
        public string title { get; set; }
        public string remark { get; set; }
        public string sacode { get; set; }
        public int scene_id { get; set; }
        public List<extra> extra { get; set; }
    }

    public class message2
    {
        public string id { get; set; }
        public string title { get; set; }
        public string remark { get; set; }
        public string sacode { get; set; }
        //public string scene_id { get; set; }
        public List<extra> extra { get; set; }
    }

    public class extra
    {
        public string title { get; set; }
        public string shortdesc { get; set; }
        public string picurl { get; set; }
        public string linkurl { get; set; }
    }

    public class nccountresults
    {
        public int state;
        public string message;
        //public int result;
        public count result;
    }
    public class count
    {
        public int nc_count;        
    }

    public class ncresults
    {
        public int state;
        public string message;
        public ncresult result;
    }

    public class ncresult
    {
        public string total_pages;
        public string total_rows;
        public string action_target;
        public string current_page;
        public string previousPage;
        public string nextPage;
        public string hasPrevious;
        public string hasNext;
        public string start_row;
        public string startRowNum;
        public List<nc_ncuser> list;
    }

    public partial class nc_ncuser
    {

        protected Int32 _id;

        protected String _nc_code;

        protected String _password;

        protected String _name;

        protected String _tel;

        protected String _email;

        protected String _state;

        protected String _nc_nature;

        protected String _entr_date;

        protected String _leave_date;

        protected String _ncl_code;

        protected String _ncl_name;

        protected String _ncl_tel;

        /// <summary>
        /// ID
        /// </summary>
        public Int32 id
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }

        /// <summary>
        /// NC编号
        /// </summary>
        public String nc_code
        {
            get
            {
                return this._nc_code;
            }
            set
            {
                this._nc_code = value;
            }
        }

        /// <summary>
        /// 登录密码
        /// </summary>
        public String password
        {
            get
            {
                return this._password;
            }
            set
            {
                this._password = value;
            }
        }

        /// <summary>
        /// 姓名
        /// </summary>
        public String name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }

        /// <summary>
        /// 手机
        /// </summary>
        public String tel
        {
            get
            {
                return this._tel;
            }
            set
            {
                this._tel = value;
            }
        }

        /// <summary>
        /// Email
        /// </summary>
        public String email
        {
            get
            {
                return this._email;
            }
            set
            {
                this._email = value;
            }
        }

        /// <summary>
        /// 会员状态
        /// </summary>
        public String state
        {
            get
            {
                return this._state;
            }
            set
            {
                this._state = value;
            }
        }

        /// <summary>
        /// NC性质
        /// </summary>
        public String nc_nature
        {
            get
            {
                return this._nc_nature;
            }
            set
            {
                this._nc_nature = value;
            }
        }

        /// <summary>
        /// 入职日期
        /// </summary>
        public String entr_date
        {
            get
            {
                return this._entr_date;
            }
            set
            {
                this._entr_date = value;
            }
        }

        /// <summary>
        /// 离职日期
        /// </summary>
        public String leave_date
        {
            get
            {
                return this._leave_date;
            }
            set
            {
                this._leave_date = value;
            }
        }

        /// <summary>
        /// NCL编码
        /// </summary>
        public String ncl_code
        {
            get
            {
                return this._ncl_code;
            }
            set
            {
                this._ncl_code = value;
            }
        }

        /// <summary>
        /// NCL姓名
        /// </summary>
        public String ncl_name
        {
            get
            {
                return this._ncl_name;
            }
            set
            {
                this._ncl_name = value;
            }
        }

        /// <summary>
        /// NCL手机
        /// </summary>
        public String ncl_tel
        {
            get
            {
                return this._ncl_tel;
            }
            set
            {
                this._ncl_tel = value;
            }
        }
    }

    public class sfdc_urlresult
    {
        public string id;
        public string token_type;
        public string access_token;
        public string instance_url;
        public string issued_at;
        public string signature;
    }

    public class sfdc_hospresult
    {
        public List<hosptial> hospitalLists;
        public Info hospitalInfo;
        public string debugStr;
    }

    public class sfdc_pnrresult
    {
        public List<pnr> PNRLists;
        public Info pnrInfo;
        public string debugStr;
    }

    public class pnr
    {
        public res attributes;
        public string PNR_EmployeeNumber__c;
        public string PNR_Region__c;
        public string PNR_Area__c;
        public string PNR_Name__c;
        public bool PNR_IsActive__c;
        public string DataType__c;
        public string Sync_Status__c;
        public string Id;
        public string Sync_Date__c;
        public string Status__c;
    }

    //public class sfdc_pnr
    //{
    //    public string PNRLists;
    //    public string PNRInfo;
    //}

    public class hosptial
    {
        public res attributes;
        public string Hospital_Region__c;
        public string Hospital_Area__c;
        public string DataType__c;
        public string Hospital_MSR_StaffID__c;
        public string Hospital_Owner__c;
        public string Hospital_Code__c;
        public string Hospital_Name__c;
        public bool Hospital_Active__c;
        public string Sync_Status__c;
        public string Id;
        public string Sync_Date__c;
        public string Status__c;
    }

    public class res
    {
        public string type;
        public string url;
    }

    public class attributes
    {
        public string type;
    }

    public class Info
    {
        public attributes attributes;
        public bool IsSuccess__c;
        public string IdString__c;
        public string NameString__c;
    }
}